package net.rock.mapper;

import net.rock.pojo.Address;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AddressMapper {
	List<Address> showAddress(int userId);
	
	void add(Address address);
	
	void del(Address address);
	
	void edit(Address address);

	void unsetDefault(Integer userId);

}
